//
//  CompanyJJTableViewCell.m
//  u76ho
//
//  Created by m-air-01 on 16/1/6.
//  Copyright © 2016年 LV. All rights reserved.
//

#import "CompanyJJTableViewCell.h"

@implementation CompanyJJTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setModel:(CompanyDetailBaseinfoModel *)model
{
    _model = model;
    _companyNameLab.text = model.companyname;
    
    NSString * contentStr = model.intro;
//    UILabel * contentLab = [[UILabel alloc]initWithFrame:CGRectMake(SIZETO6W(15), _companyNameLab.bottom+SIZETO6H(10), SCREEN_WIDTH - SIZETO6W(15)*2, [contentStr heightOfSize:17 width:SCREEN_WIDTH - SIZETO6W(15)*2])];

//    UILabel * contentLab = [[UILabel alloc]initWithFrame:CGRectMake(SIZETO6W(15), _companyNameLab.bottom+SIZETO6H(10), SCREEN_WIDTH - SIZETO6W(15)*2, [contentStr heightOfSize:17 width:SCREEN_WIDTH - SIZETO6W(15)*2])];
//    contentLab.text = model.intro;
//    contentLab.numberOfLines = 0;
//    [self addSubview:contentLab];
    
    _contentLab.text = contentStr;
    _contentLab.textColor = UIColorFromRGB(0x333944);
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
